//
//  CCDetailModel.h
//  Party
//
//  Created by its on 15/3/30.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Mantle/Mantle.h>
#import "CCUserInfo.h"
#import "CCPartyAddress.h"

@class CCDetailResult;
@interface CCDetailModel : NSObject
/**
 *  使用活动的id初始化
 *
 *  @param id 活动id
 *
 *  @return
 */
- (id) initWitActivityID:(NSString *)id;
/**
 *  返回活动详情
 *
 *  @return 活动详情请求的signal
 */
- (RACSignal *) requestDetail;
@end

@interface CCDetailResult : MTLModel <MTLJSONSerializing>
@property (nonatomic, strong) NSError *error;
//@property (nonatomic, strong) CCUserInfo *userinfo;
@property (nonatomic, strong) CCPartyAddress *address;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *money;
@property (nonatomic, strong) NSNumber *followCount;
@property (nonatomic, copy) NSString *activityTime;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, strong) NSNumber *applyCount;
@property (nonatomic, strong) NSArray *images;
@property (nonatomic, strong) NSNumber *replayCount;
@end